import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';

//aaa、bbb - 导出模块/导出全局模块
//ccc、ddd - 生命周期

async function bootstrap() {
  const app = await NestFactory.create(AppModule);
  await app.listen(3000);
}
bootstrap();

